<template>
    <div class="row">
        <div class="col-xs-offset-2 col-xs-8">
            <div class="page-header">
                <h2>Vue Router Demo</h2>
                <button @click="forward">forward</button>
                <button @click="back">back</button>
                <button @click="go">测试一下go</button>
            </div>
            <div>

            </div>
        </div>
    </div>
</template>
<script>
export default {
    name: "Banner",
    data(){
        return {
        }
    },
    methods:{
        forward(){
            this.$router.forward()
        },
        back(){
            this.$router.back()
        },
        go(){
            this.$router.go(-2)
        }
    },
    computed:{
    }
}
</script>

<style>
</style>
